"""'create_demo_member_and_offer'

Revision ID: 3c1d09abf075
Revises: cc56af3f6aff
Create Date: 2017-04-10 11:27:02.546090

"""

# revision identifiers, used by Alembic.
revision = '3c1d09abf075'
down_revision = 'cc56af3f6aff'

from alembic import op


def upgrade():
    from  sqlalchemy.orm import sessionmaker

    session = sessionmaker(bind=op.get_bind())()

    from init_data.member import init_test_member
    from init_data.offer import init_test_offer
    init_test_member(op.get_bind())
    init_test_offer(op.get_bind())


def downgrade():
    pass
